package com.lmn.httpclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;


@FeignClient(name = "feign-server")
public interface DemoClient {

    @PostMapping(value = "/hello/add", consumes = MediaType.APPLICATION_JSON_VALUE)
    String add(String body);
}